// import the extension via require
var example = require("./build/Release/example");
var util = require('util');
// calling the global method
var x = 42;
var y = 105;
var g = example.gcd(x, y);
console.log('gcd: ', g)
// Accessing the global variable
var f = example.Foo;
example.Foo = 3.1415926;
console.log("Foo " , example.Foo)
var v = example.crc32(0, 'hello world', 11)
console.log("crc32: " , v.toString(16))

